package com.phiture.erp.purchase.api.service;

import com.phiture.erp.purchase.api.pojo.ErpPurchaseRequestItemUpdate;
import com.phiture.erp.purchase.api.pojo.req.CreatePurchaseRequestFromMrpReq;
import com.phiture.erp.purchase.api.pojo.resp.ErpPurchaseRequestItemsResp;

import java.util.List;

public interface ErpPurchaseRequestApi {

    List<ErpPurchaseRequestItemsResp> getPurchaseRequestItemsListByRequestIds(List<Long> requestIds);

    ErpPurchaseRequestItemsResp getPurchaseRequestItemsListById(Long id);

    int updatePurchaseRequestItem(ErpPurchaseRequestItemUpdate item);
    void createPurchaseRequestFromMrp(List<CreatePurchaseRequestFromMrpReq> list, boolean batchMode);
}
